<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			body{
				background:black url(game_bg_2_hd.jpg) no-repeat center top;
				background-size:cover;
			}
			#jingYu{
				position:absolute;
				left:20px;
				top:20px;
				width:516px;
				height:273px;
				background:url(shark2.png) 0px 0px;
			}
		</style>
	</head>
	<body>
		<div id="jingYu"></div>
		<script>
			var x=20;
			var bgy=0;
			function pao(){
				x=x+5;
				jingYu.style.left=x+"px";
				bgy=bgy-273;
				if(bgy==-2184){
					bgy=0;
				}
				jingYu.style.background="url(shark2.png) 0px "+bgy+"px";
			}
			setInterval(pao,100);
		</script>
	</body>

</html>